package iqq.ui.view.rootpane;

import iqq.ui.view.panel.LoginPlFactory;

import java.awt.BorderLayout;
import java.awt.Color;

import com.alee.laf.panel.WebPanel;
import com.alee.laf.rootpane.WebRootPane;

/**
 * @author ChenZhiHui
 * @create-time 2013-3-10
 */
public class LoginProcRootPane extends WebRootPane {
	private static final long serialVersionUID = -4637599710563924815L;
	
	private WebPanel centerPl;
	
	public LoginProcRootPane() {
		initPanel();
		addPanel();
	}

	private void addPanel() {
		setLayout(new BorderLayout());
		add(centerPl);
	}

	private void initPanel() {
		centerPl = LoginPlFactory.getProcPl();
		centerPl.setBackground(new Color(244, 244, 244));
	}
}
